combobox: Add a special class for the button in the combobox
authorBenjamin Otte <otte@redhat.com>
Thu, 27 Aug 2015 17:36:18 +0000 (19:36 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Aug 2015 18:08:15 +0000 (20:08 +0200)
commit9ce91a12512e9306af4543e30921adaaa14fcdc5
tree3e639307e8dd7bfd6e2e3fc15db7c7f0614ced00
parentdc060154e0c4e79ec79208a9b133aabfa21b3909
combobox: Add a special class for the button in the combobox

That way, the GTK engine doesn't think that the general .button CSS
might potentially apply to it.
And because combobox button is overly complex and stupid, it cannot be
cached.

So buttons thought they cannot ever cache anything because they might
suddenly end up inside a combobox without noticing and then they'd need
to round their corners differently. Of course they're just regular
"Remove" buttons like all the other 100s of "Remove" buttons in
gnome-software. But hey, better not cache anything for them and
recompute their CSS every time the :hover state changes on one of the
rows.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/ui/gtkcombobox.ui